﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using NotAClue.ComponentModel.DataAnnotations;
using System.Web.DynamicData;

namespace NotAClue.Web.DynamicData
{
    public static class TipExtensionMethods
    {
        public static TipAttribute GetTip(this MetaColumn column)
        {
            return column.GetAttributeOrDefault<TipAttribute>();
        }
    }
}
